//
//  JSDSportMainViewController.m
//  仿咕咚
//
//  Created by Abner on 16/11/8.
//  Copyright © 2016年 Abner. All rights reserved.
//

#import "JSDSportMainViewController.h"
#import "JSDSportSportingViewController.h"
@interface JSDSportMainViewController ()

@end

@implementation JSDSportMainViewController

- (void)viewDidLoad {
    [super viewDidLoad];
}
- (IBAction)sportBtnClick:(UIButton *)sender {
//    JSDSportSportingViewController *vc = [[JSDSportSportingViewController alloc] init];
    UIStoryboard *sb = [UIStoryboard storyboardWithName:@"JSDSportSportingVc" bundle:nil];
    JSDSportSportingViewController *vc = [sb instantiateInitialViewController];
    vc.sportTracking = [[JSDSportTracking alloc] initWithType:sender.tag states:JSDSportStateContinue];
    [self presentViewController:vc animated:YES completion:nil];
}

@end
